This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Java agent ans WAS5 ~Bella Asaresaberggon 27.Oct.03 09:17 PM a Web browser Domino Designer 6.0.2 CF2All Platforms
My last message got truncated during session timeout messages (though why it would save is beyond me :-))
Essentially, what's happeing is that the new sessions are being created in the same threadgroup as that of the agent's thread group. When the agent terminates, it tries to clean up **all** threads associated with the threadgroup, will fail to clean up the thread assoicated with WAS and will throw this error.
I do not know if this leads to memory being leaked out. To be on the safe side, I have a wrapper "class" to handle non-Notes threads. Essentially, the agent will spawn a separate thread (and this is the key) in a separate threadgroup. All your custom processing go into the new thread (which is now running in a different threadgroup). Of course, you will need to determine if all threads are closed out gracefully in case of any error.
That way, when the agent terminates (and the assumption is that you have handled your thread termination gracefully), it will not attempt to clear up the custom threads that now are no longer part of the agent's thread group.